package com.dearbinge.data.api.ShowField;

import com.dearbinge.data.pojo.showField.ShowField;
import com.dearbinge.utils.PageResult;

import java.util.List;
import java.util.Map;

public interface ShowFieldService {
    Integer update(ShowField showField);

    Integer insert(ShowField showField);

    Integer delete(Integer id);

    Map<String,Object> getById(Integer id);

    PageResult<List<Map<String, Object>>> getByPage(Double minLat, Double minLng, Double maxLat, Double maxLng, String userId, String commodityId, Integer thumbsType, Double longitude, Double latitude, Integer pageNo, Integer pageSize, String positionName, String positionDetailedName, Integer id);

}
